package com.winbook.domainobjects;

import java.util.ArrayList;
import java.util.List;

public class WinWinWall extends Wall {

	private List<WinCondition> listOfWinConditions;
	private List<Category> listOfCategories;
	
	public WinWinWall(Project project, String name)
	{
		super(project, name);
		
	}

	public List<WinCondition> getListOfWinConditions() {
		return listOfWinConditions;
	}

	public void setListOfWinConditions(List<WinCondition> listOfWinConditions) {
		this.listOfWinConditions = listOfWinConditions;
	}

	public List<Category> getListOfCategories() {
		return listOfCategories;
	}

	public void setListOfCategories(List<Category> listOfCategories) {
		this.listOfCategories = listOfCategories;
	}

	public void addWinCondition(WinCondition winCondition) {
		
		if(listOfWinConditions == null)
			listOfWinConditions = new ArrayList<WinCondition>();
		
		listOfWinConditions.add(winCondition);
	}

	
	
	
}
